<template>
  <div >
    <div class="animations" v-if="item.title">
      <div>
        <img :src="item.vertical_cover" alt="" />
      </div>
      <div>{{ item.title }}</div>
      <div>
        <span v-if="item.is_finish == 1">[已完结]共</span>
        <span v-else>更新至</span>
        {{ item.last_ord }}话
      </div>
    </div>
    <div v-else class="zhaobuDao">
      <div>
        <img
          src="https://i0.hdslb.com/bfs/manga-static/manga-pc/static/img/bea10bfe88465.png"
          alt=""
        />
      </div>
      <div>
        <span>什么的没有&nbsp; &nbsp;≧ ﹏ ≦</span> 
            
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    item: Object,
    //vertical_cover图片
    //名字title
    //是否完结is_finish
    //章节last_ord
  },
  created() {},
};
</script>

<style lang="less" scoped>

.animations {
  width: 180px;
  padding-bottom: 24px;
  justify-content: space-between;
  align-items: center;

  img {
    width: 180px;
    height: 240px;
  }
  div:nth-child(2) {
    font-size: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #000000de;
    margin-top: 7px;
  }
  div:nth-child(3) {
    font-size: 13px;
    color: #999999;
    margin-top: 8px;
  }
}
.zhaobuDao {
  width: 1160px;
  margin: 0 auto;
  height: 250px;
  text-align: center;
  > div {
    width: 240px;
    height: 200px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: #999999;
    span{
        margin: 14px 0px;
        height: 19px;
        line-height: 19px;

    }

    img {
      width: 240px;
      height: 200px;
      
    }

  }
}
</style>
